package com.bookpavilion.article.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="bp_article")
public class Article implements Serializable{

	@Id
	private String id;//id


	
	private String  user_id;//发表说说的用户id
	private String  content;//说说内容
	private String  img_url;//图片或视频地址
	private Integer thumb_nums;//点赞数
	private Integer collection_nums;//收藏数
	private Integer comment_nums;//评论数
	private java.util.Date create_date;//创建时间
	private String view_permit;//查看权限

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}

	public String getImg_url() {		
		return img_url;
	}
	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}

	public Integer getThumb_nums() {		
		return thumb_nums;
	}
	public void setThumb_nums(Integer thumb_nums) {
		this.thumb_nums = thumb_nums;
	}

	public Integer getCollection_nums() {		
		return collection_nums;
	}
	public void setCollection_nums(Integer collection_nums) {
		this.collection_nums = collection_nums;
	}

	public Integer getComment_nums() {		
		return comment_nums;
	}
	public void setComment_nums(Integer comment_nums) {
		this.comment_nums = comment_nums;
	}

	public java.util.Date getCreate_date() {		
		return create_date;
	}
	public void setCreate_date(java.util.Date create_date) {
		this.create_date = create_date;
	}

	public String getView_permit() {		
		return view_permit;
	}
	public void setView_permit(String view_permit) {
		this.view_permit = view_permit;
	}


	
}
